package dao;

import java.util.ArrayList;

import metier.*;

public interface DAOEtudiant
{
	public Etudiant get(int num) throws Exception;
	public void save(Etudiant etudiant) throws Exception;
	public void saveOrUpdate(Etudiant etudiant) throws Exception;
	public void delete(Etudiant etudiant) throws Exception;
	public void candidater(Etudiant etudiant, Stage stage) throws Exception;
	public void annulerCandidature(Etudiant etudiant, Candidature candidature) throws Exception;
	public void validerCandidature(Etudiant etudiant, Candidature candidature) throws Exception;
	public ArrayList<Entreprise> listerEntreprises() throws Exception;
	public Etudiant connexion(String login, String mdp) throws Exception;
}
